<html>

	<head lang="en">
		<meta charset="UTF-8">
		<meta http-equiv="Expires" content="0">
		<meta http-equiv="Pragma" content="no-cache">
		<meta http-equiv="Cache-control" content="no-cache">
		<meta http-equiv="Cache" content="no-cache">
		<title ng-bind="oem.dspTitle" class="ng-binding">大算盘智能推广</title>
		<link rel="icon" id="favicon">
		<link rel="stylesheet" href="css/bootstrap.min.css">
		<link rel="stylesheet" href="css/base.css">
		<link type="text/css" rel="stylesheet" href="css/dspIndex.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspRecord.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspSkuReport.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspCreative.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspAdv.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspSkuMange.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspAgentMange.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspRecord.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspInfo.css?rand=v1.0.54">
		<link type="text/css" rel="stylesheet" href="css/dspProfit.css?rand=v1.0.54">
		<link rel="stylesheet" href="css/layer.css?v=3.0.3303" id="layuicss-skinlayercss">
		<link rel="stylesheet" href="../oem/css/common.css" />
		<script src="js/layui.all.js"></script>
	</head>

	<body data-ext-version="1.4.5">
		<div class="nav_top">
			<div class="logo fl" id="logo"></div>
			<ul class="nav_list fl">
				<li>
					<a data="dspIndex.html" class="href_url">首页</a>
				</li>
				<li class="ng-scope">
					<a data="dspAgeReport.html" class="href_url">报表中心</a>
					<ul class="nav_dropdown">
						<li class="ng-scope">
							<a data="dspAgeReport.html" class="href_url">代理商报表</a>
						</li>
						<!--<li class="ng-scope">
							<a data="sku.html" class="href_url">合约资源报表</a>
						</li>-->
					</ul>
				</li>
				<li>
					<a data="creative.html" class="href_url">审核管理</a>
					<ul class="nav_dropdown">
						<li>
							<a data="creative.html" class="href_url">创意审核</a>
						</li>
						<li>
							<a data="adv.html" class="href_url">资质审核</a>
						</li>
					</ul>
				</li>
				<!--<li class="ng-scope">
					<a data="manage.html" class="href_url">合约资源管理</a>
				</li>-->
				<li>
					<a data="dspAgentMange.html" class="href_url">代理商管理</a>
				</li>
				<li class="ng-scope">
					<a data="record.html" class="href_url active">财务管理</a>
					<ul class="nav_dropdown" style="padding-left: 483px; ">
						<li class="ng-scope">
							<a data="record.html" class="href_url">财务记录</a>
						</li>
						<li class="ng-scope">
							<a data="info.html" class="href_url">财务信息</a>
						</li>
						<li class="ng-scope">
							<a data="profit.html" class="href_url active">利润提取</a>
						</li>
					</ul>
				</li>
			</ul>
			<div class="user" ng-class="{hover:hover}" ng-mouseleave="hover=false">
				<div class="user-avatar"></div>
				<div class="user-info">
					<p  class="ng-binding username_type1"></p>
					<p  class="ng-binding name_type1"></p>
				</div>
				<ul class="user-list">
					<!--<li>余额：0</li>-->
					<li class="ng-binding">余额：<span class="amount"></span></li>
					<li data-toggle="modal" data-target="#pwdModal">修改密码</li>
					<!--<li  data-toggle="modal" data-target="#dspOemModal" class="ng-hide">修改OEM信息</li>-->
					<li onclick="logout()">退出登录</li>
				</ul>
			</div>
			<!--修改密码弹框-->
			<div class="modal fade" tabindex="-1" id="pwdModal">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span></button>
							<h4 class="modal-title">修改密码</h4>
						</div>
						<div class="modal-body">
							<div class="form-group">
								<label>旧密码：</label>
								<input type="password" class="form-control ng-pristine ng-untouched ng-valid ng-empty oldPasswd">
							</div>
							<div class="form-group">
								<label>新密码：</label>
								<input type="password" class="form-control ng-pristine ng-untouched ng-valid ng-empty newPasswd">
							</div>
							<div class="form-group">
								<label>确认密码：</label>
								<input type="password" class="form-control ng-pristine ng-untouched ng-valid ng-empty newPasswd2">
							</div>
						</div>
						<div class="modal-footer">
							<button class="dsp-btn btn-blue" onclick="resetPWD()">确定</button>
							<button class="dsp-btn btn-white2" data-dismiss="modal">取消</button>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- uiView:  -->
		<ui-view class="ng-scope">
			<!-- uiView:  -->
			<ui-view class="ng-scope">
				<!-- uiView:  -->
				<ui-view class="ng-scope">
					<div class="profit-page page ng-scope">
						<h3 class="page-title">利润提取</h3>
						<div class="dsp-calendar" id="calendar"></div>

						<ul class="finance-list">
							<li>
								<p class="finance-title"><i></i>账户余额（元）</p>
								<p class="finance-number ng-binding amount" ng-bind="finance.bookBalance | number:2"></p>
							</li>
							<li>
								<p class="finance-title"><i></i>剩余利润（元）</p>
								<p class="finance-number ng-binding actAmount" ng-bind="finance.rptRTBProfit - finance.rtbProfit | number:2"></p>
							</li>
							<!-- <li>
            <p class="finance-title"><i></i>剩余保价保量收入（元）</p>
            <p class="finance-number" ng-bind="finance.rptPDBProfit - finance.pdbProfit"></p>
        </li> -->
						</ul>
						<div class="filter-box clearfix">
							<div class="search ng-isolate-scope" value="filter.name" callback="search" placeholder="广告公司名称"> <input class="form-control search-input ng-pristine ng-untouched ng-valid ng-empty adComName" type="text" placeholder="广告公司名称"> <i class="search-icon adComName_btn"></i> </div>
							<!--<button class="dsp-btn btn-green" onclick="showProfits()">全部提取</button>-->
							<!--<span>全部可提取利润(元)：{{finance.profit}}</span>-->
							<!--<div class="search fr">-->
							<!--<input class="form-control search-input" type="text"/>-->
							<!--<i class="search-icon"></i>-->
							<!--</div>-->
						</div>
						<div class="table-box">
							<div class="table-title">
								<h3 class="table-title-font">财务信息列表<small class="text-danger">利润为截至前一天0点所获取金额，当日利润次日0点更新</small></h3>
								<!--<a class="table-download" href="http://47.105.48.86:8081/ad-proxy/sys/fiWithdrawCom/export" download="sda"></a>-->
								<div class="table-download"	onclick="download()"></div>
							</div>
							<table>
								<thead>
									<tr>
										<th>广告公司ID</th>
										<th>广告公司名称</th>
										<th>余额</th>
										<th>总利润</th>
										<th>未提取利润</th>
										<th>已提取利润</th>
										<!-- <th>总保价保量收入</th> -->
										<!-- <th>保价保量未提取收入</th> -->
										<!-- <th>保价保量已提取收入</th> -->
										<th>操作</th>
									</tr>
								</thead>
								<tbody class="list_profit">
									<!--<tr class="ng-scope">
										<td class="ng-binding">11297</td>
										<td class="ng-binding">上海加推智能科技有限公司</td>
										<td class="ng-binding">0</td>
										<td class="ng-binding">0</td>
										<td class="ng-binding">0</td>
										<td class="ng-binding">0</td>
										<td>
											<a href="profit.htmlDetail/11297/2">查看记录</a>
											<a onclick="showProfits(item,'rtb')" class="ng-scope">提取竞价交易利润</a>
										</td>
									</tr>-->
								</tbody>
							</table>
							<div id="pageToolbar" class="page">
								<div id="Paging_011739401246865855" class="ui-paging-container">
									<ul>
										<li class="js-page-first js-page-action ui-pager ui-pager-disabled">首页</li>
										<li class="js-page-prev js-page-action ui-pager ui-pager-disabled">上一页</li>
										<li class="ui-paging-toolbar"><span>跳转到</span><input type="text" class="ui-paging-count"> 页
											<select class="ui-select-pagesize">
												<option value="10">每页展示10条/页</option>
												<option value="20">每页展示20条/页</option>
												<option value="50">每页展示50条/页</option>
											</select><span> </span></li>
										<li class="js-page-last js-page-action ui-pager ui-pager-disabled">末页</li>
										<li class="js-page-next js-page-action ui-pager ui-pager-disabled">下一页</li>
									</ul>
								</div>
							</div>
						</div>

						<!--利润提取-->
						<div class="profits">
							<div class="form-group">
								<label class="ng-binding">利润提取：</label>
								<input type="text" class="form-control ng-pristine ng-untouched ng-valid ng-empty profits_amount" placeholder="请输入提取利润金额(元)">
								<p>可提取利润 <span class="number ng-binding kke"></span></p>
							</div>
							<div class="form-group btn-group">
								<button class="dsp-btn btn-green amount_btn">确定</button>
								<button class="dsp-btn btn-red close-layer">关闭</button>
							</div>
						</div>
					</div>
				</ui-view>
			</ui-view>
		</ui-view>

		

		<script src="js/jquery.min.js"></script>
		<script src="js/layer.js"></script>
		<script src="js/bootstrap.min.js"></script>
		<div id="__calendarPanel" style="position:absolute;top:0;visibility:hidden;z-index:9999;background-color:#FFFFFF;border:1px solid #cfccc7; border-radius: 5px; width:260px;height:216px;">
			<iframe name="__calendarIframe" id="__calendarIframe" width="100%" height="100%" scrolling="no" frameborder="0" style="margin:0px; border-radius: 5px;"></iframe>
		</div>

		<script src="js/query.js"></script>
		<script src="js/paging.js"></script>
		<script src="js/fileUpload.js"></script>
		<div class="layui-layer-move"></div><input id="uploadInputfunction getTime() { [native code] }" type="file" name="file" style="display: none;"><input id="uploadInputfunction getTime() { [native code] }" type="file" name="file" style="display: none;"></body>
<script>
    $(function(){
        $('.user').on('click',function(){
            $(this).toggleClass('hover');
        })

        $('.user').mouseleave(function(){
            $(this).removeClass('hover');
        });

        
        $('.dropdown').on('click',function(){

            if($(this).hasClass("open")){
                $(this).removeClass('open');
            }else{
                $('.dropdown').removeClass('open');
                $(this).addClass('open');
            }
        })

// active
    })
</script>
<script src="js/js_1.js"></script>
<script src="js/profit.js"></script>
<script src="../oem/js/oem.js"></script>
</html>
